home *** CD-ROM | disk | FTP | other *** search
-
-
-
- SSSSMMMMCCCCMMMMDDDD((((1111)))) SSSSMMMMCCCCMMMMDDDD((((1111))))
-
-
-
- NNNNAAAAMMMMEEEE
- smcmd - command-line web content administration and publishing tool
-
- SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
- ////uuuussssrrrr////ssssiiiitttteeeemmmmggggrrrr////bbbbiiiinnnn////ssssmmmmccccmmmmdddd ccccmmmmdddd UUUURRRRLLLL {{{{ ooootttthhhheeeerrrr____ddddoooocccc____iiiinnnnffffoooo }}}} {{{{ sssseeeedddd____ppppaaaatttttttteeeerrrrnnnn }}}}
- {{{{ ----aaaauuuutttthhhh aaaauuuutttthhhh____ssssttttrrrr }}}} {{{{ ----pppptttthhhh eeeexxxxttttrrrraaaa____pppptttthhhh }}}}
-
-
- DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
- _s_m_c_m_d allows a user (from the command-line; within a window shell) to
- publish documents and perform some administrative tasks on a web site
- that has the proper SiteMgr server extensions (see _s_i_t_e_m_g_r._c_g_i(1))
- installed.
-
- OOOOPPPPTTTTIIIIOOOONNNNSSSS
- Command line options are described below.
-
- ccccmmmmdddd is a rrrreeeeqqqquuuuiiiirrrreeeedddd argument, and must be oooonnnneeee of the following:
-
- ----ccccoooo check out a document.
-
- ----cccciiii check in a document; "{other_doc_info}" required.
-
- ----rrrrmmmm remove a document.
-
- ----lllloooocccckkkk lock a document.
-
- ----uuuunnnnlllloooocccckkkk unlock a document.
-
- ----rrrreeeennnnaaaammmmeeee rename a document; "{other_doc_info}" required.
-
- ----ccccpppp make a copy of a document; "{other_doc_info}" required.
-
- ----mmmmvvvv move a document; "{other_doc_info}" required.
-
- ----sssseeeedddd perform a "find and replace" operation on a document;
- "{sed_pattern}" required.
-
- ----vvvvaaaalllliiiiddddaaaatttteeee validate (links, encoding, spelling) a document.
-
- ----rrrrlllloooogggg show the revision (version control) log for a document.
-
- ----rrrrddddiiiiffffffff show the revision diff[erences] for a document version.
-
- UUUURRRRLLLL This argument is rrrreeeeqqqquuuuiiiirrrreeeedddd and must contains the full URL information
- for a document on the "SiteMgr-enabled" web site. Only one document
- at a time can be specified; "wild-card"'s are not allowed when using
- _s_m_c_m_d.
-
- See the EEEExxxxaaaammmmpppplllleeeessss section for further information on how this
- argument is specified. The syntax is as follows:
-
-
-
-
- PPPPaaaaggggeeee 1111
-
-
-
-
-
-
- SSSSMMMMCCCCMMMMDDDD((((1111)))) SSSSMMMMCCCCMMMMDDDD((((1111))))
-
-
-
- hhhhttttttttpppp::::////////sssseeeerrrrvvvveeeerrrr{{{{////ddddooooccccuuuummmmeeeennnntttt{{{{,,,,vvvveeeerrrrssssiiiioooonnnn}}}}}}}}
-
- ooootttthhhheeeerrrr____ddddoooocccc____iiiinnnnffffoooo
- This option is either a local filename (if used with ----cccciiii), or a
- relative UUUURRRRLLLL specification (minus the hhhhttttttttpppp::::////////sssseeeerrrrvvvveeeerrrr portion) for the
- command options: ----rrrreeeennnnaaaammmmeeee,,,, ----ccccpppp,,,, ----mmmmvvvv.
-
- sssseeeedddd____ppppaaaatttttttteeeerrrrnnnn
- This argument is used to designate the pattern specification for the
- global "find and replace" (----sssseeeedddd) operation. The syntax is as
- follows:
-
- """"gggg////<<<<ffffiiiinnnndddd____ppppaaaatttttttteeeerrrrnnnn>>>>////<<<<rrrreeeeppppllllaaaacccceeee____ppppaaaatttttttteeeerrrrnnnn>>>>////""""
-
- ----aaaauuuutttthhhh
- Allows for specification of a HTTP authorization string. If your web
- site is secure, and authorization is required, you can specify your
- necessary HTTP server user name and password designation (aaaauuuutttthhhh____ssssttttrrrr)
- as follows:
-
- ----aaaauuuutttthhhh """"hhhhttttttttpppp____uuuusssseeeerrrr____nnnnaaaammmmeeee::::hhhhttttttttpppp____uuuusssseeeerrrr____ppppaaaasssssssswwwwoooorrrrdddd""""
-
- ----pppptttthhhh If you are using SiteMgr to manage only a subsite of your full
- server, specify that relative path as the designated eeeexxxxttttrrrraaaa____pppptttthhhh
- variable. Refer to the SiteMgr release notes or on-line help for
- further information on this topic.
-
- EEEEXXXXAAAAMMMMPPPPLLLLEEEESSSS
- To cccchhhheeeecccckkkk iiiinnnn a document:
-
- smcmd -ci http://www.foo.com/dir/doc.html /usr/tmp/file1.html
-
- To cccchhhheeeecccckkkk oooouuuutttt a document (_s_m_c_m_d will inform you where the document is
- placed):
-
- smcmd -co http://www.foo.com/dir/doc.html
-
- To ccccooooppppyyyy a document that already exists on your web site:
-
- smcmd -cp http://www.foo.com/dir/doc.html /new_dir/new_doc.html
-
- To cccchhhhaaaannnnggggeeee all occurrences of a string in a document to another value:
-
- smcmd -sed http://www.foo.com/dir/doc.html 'g/July 4th/JULY FOURTH/'
-
- To vvvvaaaalllliiiiddddaaaatttteeee a document:
-
- smcmd -validate http://www.foo.com/dir/doc.html
-
- To retrieve rrrreeeevvvviiiissssiiiioooonnnn lllloooogggg iiiinnnnffffoooorrrrmmmmaaaattttiiiioooonnnn for a document:
-
- smcmd -rlog http://www.foo.com/dir/doc.html
-
-
-
- PPPPaaaaggggeeee 2222
-
-
-
-
-
-
- SSSSMMMMCCCCMMMMDDDD((((1111)))) SSSSMMMMCCCCMMMMDDDD((((1111))))
-
-
-
- To retrieve rrrreeeevvvviiiissssiiiioooonnnn ddddiiiiffffffffeeeerrrreeeennnncccceeeessss between a designated version of the
- document ("1.12" in the example), and the current version:
-
- smcmd -rdiff http://www.foo.com/dir/doc.html,1.12
-
- To vvvvaaaalllliiiiddddaaaatttteeee a document on a secure site:
-
- smcmd -validate http://www.foo.com/dir/doc.html -auth "usr1:pass1"
-
-
- FFFFIIIILLLLEEEESSSS
- /usr/sitemgr/bin/smcmd
-
- SSSSEEEEEEEE AAAALLLLSSSSOOOO
- sitemgr(1), sitemgr.cgi(1)
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- PPPPaaaaggggeeee 3333
-
-
-
-
-
-
-